package com.cheng.service;

import com.cheng.pojo.User;
import com.cheng.pojo.Users;

public interface UserService {

    //查询用户
    User selectUser(String userCode, String userPassword);

    //查询用户信息
    User select_information(String userCode);

    //修改商家信息
    int update_information(String userName,String userPassword,String phone,String address,String userCode);

    //商家收款
    int addMoney(String usercode,String money);

    //商家退款
    int refund(String userCode,String total_price);

    //注册用户
    int addUser(User user);



}
